import {PageContainer} from '@ant-design/pro-components';
import {useRequest} from 'ahooks';

import {getMySubmissionList} from '@/services/administrative/submission';
import {useEffect} from "react";

const MySubmission = () => {

  const {data, run, loading} = useRequest(getMySubmissionList);

  useEffect(() => {
    run();
    console.log(data);
  }, []);

  return (
    <PageContainer header={{title: null}} loading={loading}>
      <div>MySubmission</div>
      <div>MySubmission</div>
      <div>MySubmission</div>
      <div>MySubmission</div>
      <div>MySubmission</div>
      <div>MySubmission</div>
      <div>MySubmission</div>
      <div>MySubmission</div>
    </PageContainer>
  )
}

export default MySubmission;
